import com.pojo.Orders;
import com.utils.MyBatisUtils;
import org.apache.ibatis.session.SqlSession;
import org.junit.Test;

public class OrdersTest {
    @Test
    public void findUserTest(){
        SqlSession session = MyBatisUtils.getSession();
        Orders users = session.selectOne("com.mapper.OrdersMapper.findUserWithOrders", 1);
        System.out.println(users);
        session.close();
    }
}
